/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.rie06.openvoip.server;

import java.io.Serializable;
import java.util.UUID;

/**
 *
 * @author clement
 */
public class ServerMessage implements Serializable {
    
    private String type;
    private Object message;
    private UUID from;

    public ServerMessage(String type, Object message, UUID from) {
        this.type = type;
        this.message = message;
        this.from = from;
    }

    public UUID getFrom() {
        return from;
    }

    public String getType() {
        return type;
    }

    public Object getMessage() {
        return message;
    }    
}
